import Vue from 'vue'
import Router from 'vue-router'
import head from '@/components/head'
import sou from '@/page/sou'
import dou from '@/page/dou/dou'
import douTitle from '@/page/dou/douTitle'
import douPeopel from '@/page/dou/douPeople'
import douMove from '@/page/dou/douMove'
Vue.use(Router)

export default new Router({
  routes: [
    /*{path: '/', redirect: '/default'},
    {
      path: '/default',
      name: 'head',
      component: head
    },
    {
      path: '/sou',
      component: sou
    }*/
    {path: '/', redirect: '/dou'},
    {
      path:'/dou',
      component:dou,
      children:[
        {
          path:'title',
          component:douTitle
        },
        {
          path:'peopel',
          component:douPeopel
        },
        {
          path:'move',
          component:douMove
        }
      ]
    }
  ]
})
